package com.crmweb.dto;

import java.util.List;

public class TreeModules {
	
	private int id;
	private String name;
	private String parentId;
	private String path;
	private int weight;
	public int getWeight() {
		return weight;
	}
	public void setWeight(int weight) {
		this.weight = weight;
	}
	private List<TreeModules> children;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public List<TreeModules> getChildren() {
		return children;
	}
	public void setChildren(List<TreeModules> children) {
		this.children = children;
	}
	@Override
	public String toString() {
		return "TreeModules [id=" + id + ", name=" + name + ", parentId=" + parentId + ", path=" + path + ", children="
				+ children + "]";
	}

	
	
	
}
